package vip.youngboy.freejump.persist.opinion;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import vip.youngboy.freejump.domain.process.TaskOpinion;
import vip.youngboy.freejump.repository.TaskOpinionRepository;

@Component
public class DefaultTaskOpinionPersistence implements TaskOpinionPersistence {

    @Autowired
    private TaskOpinionRepository taskOpinionRepository;

    @Override
    public void save(TaskOpinion taskOpinion) {
        taskOpinionRepository.save(taskOpinion);
    }

}
